package com.safety51.bootstrap.demo.infrastructure.config;

import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by liuyuancheng on 2021/7/16  <br/>
 */
@Configuration
@ComponentScan(basePackages = {
        "com.safety51.bootstrap.commons.config",
        "com.safety51.bootstrap.commons.properties"
})
@EnableConfigurationProperties
@ConfigurationPropertiesScan(basePackages = {
        "com.safety51.bootstrap.commons.properties"
})
public class MainConfig {
}
